import { createSSRApp } from "vue";
import App from "./App.vue";
import store from './store'

// 在挂载app前引入拦截器
import '@/utils/http/interceptor';
// 引入路由拦截器
import '@/route';

export function createApp() {
  const app = createSSRApp(App);
  app.use(store);
  
  return {
    app,
  };
}
